energy density in electric field